﻿/* DotNetHoldem 
 * .Net Solution that allows to use OpenHoldem with .Net logic
 * Author: Óscar Andreu
 * oesido at gmail dot com
 * Licensed under GPLv3 - 2012
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNetBotLogic.Classes;
using DotNetBotLogic.Enums;
using DotNetBotLogic.Classes.BetRoundClasses;
using DotNetBotLogic.Classes.BetRoundClasses.NL6Max;
using DotNetBotLogic.Classes.Log;

namespace DotNetBotLogic.Controllers
{
    internal class SwagController : BaseController
    {
        #region Variables

        private int numberOfRaises = 0;

        #endregion

        #region Constructor

        internal SwagController(MainController ctrlBase) 
            : base() 
        { }

        #endregion

        #region Private

        private void InitializeBetRound()
        {
            numberOfRaises = 0;
        }

        #endregion

        #region Overrrides

        protected override BetRoundBase Preflop()
        {
            InitializeBetRound();

            //Logger.Log(string.Format("\n --------- PREFLOP ({0})  swag", BetTurn));

            return new SwagPreflopNL6(this);
        }

        protected override BetRoundBase Flop()
        {
            InitializeBetRound();

            //Logger.Log(string.Format("\n ---------  FLOP ({0})  swag", BetTurn));

            return new SwagFlopNL6(this);
        }

        protected override BetRoundBase Turn()
        {
            //Logger.Log(string.Format("\n ---------  TURN ({0})  swag", BetTurn));

            return new SwagTurnNL6(this);
        }

        protected override BetRoundBase River()
        {
            InitializeBetRound();

            //Logger.Log(string.Format("\n ---------  RIVER ({0})  swag", BetTurn));

            return new SwagRiverNL6(this);
        }

         #endregion

    }
}
